/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 */
package org.nanhill.commons.pattern.flow;

/**
 * @version 2007-1-5
 * @author xalinx at gmail dot com
 * 
 */
public interface StateFactory {

	/**
	 * Create Action State.
	 * 
	 * @param id
	 * @param stateName
	 * @return
	 */
	ActionState createActionState(String stateId, Action action);

	/**
	 * Create View State.
	 * 
	 * @param id
	 * @param stateName
	 * @return
	 */
	ViewState createViewSate(String stateId, String viewId);

}
